<%@ page language="java" contentType="text/html; charset=utf8"
    pageEncoding="utf8"%>
     <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf8">
<title>Insert title here</title>
</head>
<link rel="stylesheet" href="/hospital-system/bootstrap-5.3.0/css/bootstrap.css">
<body>

<div class="container mt-2">
			
<nav class="navbar navbar-dark bg-dark ">
  <span class="navbar-brand mb-auto h1 mr-auto my-10  navbar-nav-scroll">欢迎使用医院就诊系统</span>
</nav>
		<table class="table table-success table-striped">		
		  <thead class="text-center">
		 	<tr>
		 		<td>预约号</td>
			 	<td>姓名</td>
			 	<td>预约医生姓名</td>
			 	<td>挂号时间</td>
			 	<td colspan="2">操作</td>
		 	</tr>
		  </thead>
		  <tbody class="text-center">
		  	<c:forEach items="${checkmyselfbook}" var="che"  >
		  	<tr>
		  		<td>${che.bid}</td>
			 	<td>${che.pname}</td>	
			 	<td>${che.dname}</td>		 	
			 	<td>${che.bdate}</td>
		  		<td><a href="jsp/writereport.jsp?bid=${che.bid}">填写病情描述</a></td>
		  	</tr>
		  	</c:forEach>
		  </tbody>	 
		</table>
</body>
</html>